package com.trf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 *商品小类
 *
 * @author 小小唐
 * @Date 2022/6/15-星期三-14:35
 */
@TableName("t_smalltype")
@Data
public class SmallType implements Serializable {

    private Integer id; //编号

    private String name; //名称

    private String remark; //备注

    private Integer bigTypeId; //大类id

    @TableField(select = false)
    private BigType bigType; //所属商品大类

    @TableField(select = false)
    private List<Product> productList; //商品集合
}
